const userinfoClick = document.querySelector('#userInfoClick')
const userinfoIcon = document.querySelector('#userInfoIcon')
function openMenu() {
    menuOptions.style.left = 0
}


window.onclick = function (event) {
    if (event.target !== userinfoClick && event.target !== userinfoIcon) {
        menuOptions.style.left = '-100%'
    }
}

